<#include "/be/gwi/alfresco/run/common.ftl">
{
	"runner" : 
		<@displayRunnerLight runner=runner/>,
	"history" : 
	[
		<#list history as run>
		{
			"nodeRef"      : "${run.nodeRef}",
			"runDate"      : "${xmldate(run.runDate)}",
			"runDistance"  : ${run.runDistance?c},
			"runType"      : "${run.runType}",
			"runUrl"       : "${run.runUrl}",
			"like"         : 
			{
				"likeCount"    : ${run.like.likeCount?c},
				"isLiked"      : <#if run.like.isLiked()>true<#else>false</#if>
			}
		}<#if run_has_next>,</#if>
		</#list>
	]
}